//
//  Book.m
//  Classes & Objects
//
//  Created by admin on 2019/8/3.
//  Copyright © 2019 猫爷爷的酱醋茶. All rights reserved.
//

#import "Book.h"

@implementation Book

- (void)dealloc
{
    NSLog(@"恭喜你，这本书已读完。");
    [_name release];
    [_authorName release];
//    [_owern release];   //使用assign中就不需要release
    [super dealloc];
}

-(void)SpreadKnowledge
{
    NSLog(@"书中自有黄金屋，书中自有颜如玉");
}

@end
